- NAME
-
- gcloud components restore - restore the Google Cloud CLI installation to its previous state
- SYNOPSIS
-
-
gcloud components restore[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
This is an undo operation, which restores the Google Cloud CLI installation on
the local workstation to the state it was in just before the most recent
gcloud components update,gcloud components remove, orgcloud components installcommand. Only the state before the most recent such state is remembered, so it is impossible to restore the state that existed before the two most recentupdatecommands, for example. Arestorecommand does not undo a previousrestorecommand. - EXAMPLES
-
To restore Google Cloud CLI installation to its previous state, run:
gcloud components restore - GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-03-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]